package com.linksfield.topup.utils;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * @author: songgt
 * @date: 2019-04-10 8:56
 */
@Getter
@Setter
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
public class JwtObj implements Serializable {

    private static final long serialVersionUID = -2219410416791576880L;

    /**
     * 用户名
     */
    private String userName;
    /**
     * 用户ID
     */
    private int id;
    /**
     * 用户ID
     */
    private String userPwd;
    /**
     * token有效期
     */
    private long expires;
}
